location_switch_to_path_bar (impl);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), 10);
priv->save_widgets_table = gtk_grid_new ();
gtk_box_pack_start (GTK_BOX (vbox), priv->save_widgets_table, FALSE, FALSE, 0);
priv->location_entry = NULL;
}
- gtk_widget_hide (priv->location_entry_box);
+ gtk_widget_hide (priv->browse_header_box);
}
/* Turns on the location entry. Can be called even if we are already in that
GtkFileChooserWidgetPrivate *priv = impl->priv;
/* when in search or recent files mode, we are not showing the
- * location_entry_box container, so there's no point in switching
+ * browse_header_box container, so there's no point in switching
* to it.
*/
if (priv->operation_mode == OPERATION_MODE_SEARCH ||
/* Box */
- gtk_widget_show (priv->location_entry_box);
+ gtk_widget_show (priv->browse_header_box);
/* Entry */
GtkFileChooserWidgetPrivate *priv = impl->priv;
/* when in search or recent files mode, we are not showing the
- * location_entry_box container, so there's no point in switching
+ * browse_header_box container, so there's no point in switching
* to it.
*/
if (priv->operation_mode == OPERATION_MODE_SEARCH ||
location_mode_set (impl, priv->location_mode, TRUE);
if (priv->location_mode == LOCATION_MODE_FILENAME_ENTRY)
- gtk_widget_show (priv->location_entry_box);
+ gtk_widget_show (priv->browse_header_box);
}
}
priv->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
{
gtk_widget_hide (priv->location_button);
- gtk_widget_hide (priv->location_entry_box);
+ gtk_widget_hide (priv->browse_header_box);
}
recent_start_loading (impl);
priv->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
{
gtk_widget_hide (priv->location_button);
- gtk_widget_hide (priv->location_entry_box);
+ gtk_widget_hide (priv->browse_header_box);
}
focus_search_entry_in_idle (impl);
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkFileChooserDialog" parent="GtkDialog">
<property name="can_focus">False</property>
- <property name="border_width">5</property>
+ <property name="border_width">0</property>
<property name="role">GtkFileChooserDialog</property>
<property name="type_hint">dialog</property>
<property name="default_width">600</property>
<signal name="response" handler="response_cb" swapped="no"/>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
+ <property name="border_width">0</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<object class="GtkFileChooserWidget" id="widget">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="border_width">5</property>
+ <property name="border_width">0</property>
<property name="orientation">vertical</property>
<signal name="default-size-changed" handler="file_chooser_widget_default_size_changed" swapped="no"/>
<signal name="file-activated" handler="file_chooser_widget_file_activated" swapped="no"/>
<template class="GtkFileChooserWidget" parent="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">0</property>
<child>
<object class="GtkBox" id="browse_widgets_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">0</property>
<child>
<object class="GtkBox" id="browse_header_box">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
+ <property name="border_width">10</property>
<property name="spacing">12</property>
<child>
<object class="GtkBox" id="location_entry_box">
+ <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<child>
<object class="GtkPaned" id="browse_widgets_hpaned">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="border_width">0</property>
<child>
<object class="GtkPlacesSidebar" id="places_sidebar">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="shadow_type">in</property>
+ <property name="shadow_type">none</property>
<property name="local_only">True</property>
<signal name="open-location" handler="places_sidebar_open_location_cb" swapped="no"/>
<signal name="show-error-message" handler="places_sidebar_show_error_message_cb" swapped="no"/>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">6</property>
+ <property name="spacing">0</property>
<child>
<object class="GtkBox" id="browse_path_bar_hbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
+ <property name="border_width">6</property>
<child>
<object class="GtkToggleButton" id="location_button">
<property name="visible">True</property>
<child>
<object class="GtkBox" id="extra_and_filters">
<property name="visible">True</property>
+ <property name="border_width">10</property>
<child>
<object class="GtkBox" id="extra_align">
<property name="can_focus">False</property>